import request from "../common/request";
/**
 * 获取商户banner
 * 
*/
export function getBannerList(data={}){
    return request({
      url: 'shop/getBannerListData',
      data,
      methods: 'GET',
    })
}

/**
 * 获取商户
 * 
*/
export function getShops(){
    return request({
      url: 'shop/getMerchantsListData',
      methods: 'GET',
    })
}


/**
 * 获取商品列表
 * 
*/
export function getNFTShopList(){
    return request({
      url: 'shop/getGoodsNftListData',
      methods: 'GET',
    })
}


/**
 * 获取商品详情
 * 
*/
export function getNftDetailData(data){
    return request({
      url: 'shop/getGoodsNftDetailData',
      data,
      methods: 'GET',
    })
}

/**
 * 获取商品详情
 * 
*/
export function getTagDetail(data){
  return request({
    url: 'shop/getMerchantsNftTagListData',
    data,
    methods: 'GET',
  })
}

/**
 * 购买NFT
 * 
*/
export function buyNFT(data){
  return request({
    url: 'shop/castingNftData',
    data,
    methods: 'POST',
  })
}

